package com.upic.service;

import com.upic.po.Examination;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

public interface ExaminationService {
    Examination saveExamination(Examination examination);

    String deleteExamination(long examinationId);

    Page<Examination> searchExamination(Pageable pageable);

    List<Examination> searchExamination();

    Examination findOne(long examinationId);

    Examination updateExamination(Examination examination);
}
